package com.xjt.java.test;

public class DianDaoShuZu {

	public static void main(String[] args) {
		int[] list =new int[100];
		
		for (int i = 0; i < 100; i++) {
			list[i]=i;
			System.out.println(list[i]);	
		}
		System.out.println("===============================================");
		int low =0;
		int high =list.length-1;
		while (low<=high) {
			int temp=list[low ];
			list[low ]=list[high];
			list[high ]=temp;
			low++;
			high--;
			
		}
		for (int i = 0; i < 100; i++) {
			 
			System.out.println(list[i]);	
		}
		
	}
}
